package com.example.mystore.entity;

public class Commodity {
    private int id;
    private String name;
    private String img;
    private String model;
    private String introduction;
    private double price;

    public Commodity(int id, String name, String img, String model, String introduction, double price) {
        this.id = id;
        this.name = name;
        this.img = img;
        this.model = model;
        this.introduction = introduction;
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getImg() {
        return img;
    }

    public String getModel() {
        return model;
    }

    public String getIntroduction() {
        return introduction;
    }

    public double getPrice() {
        return price;
    }
}
